package com.dy.lock.screen.dao;

import com.dy.lock.screen.pojo.CustomerLikeInfo;
import com.dy.lock.screen.vo.CommonCommentLikeVo;

public interface CustomerLikeDao extends BaseDao<CustomerLikeInfo, String> {

	/**
	 * 通过id查询
	 * 
	 * @param id
	 * @return
	 */
	public CustomerLikeInfo queryByPrimaryKey(String id);

	/**
	 * 根据文章编号(或文章评论编号)和客户编号查询是否有点过赞
	 * 
	 * @param likeInfo
	 * @return
	 */
	public CustomerLikeInfo queryByMidAndCid(CustomerLikeInfo likeInfo);

	/**
	 * 查询消息中的赞详情
	 * 
	 * @param id
	 * @return
	 */
	public CommonCommentLikeVo queryDetailByPrimaryKey(String id);

}
